package com.base.service.impl;

import com.base.mapper.voipmapper.RebateOrdersJdMapper;
import com.base.po.voip.RebateOrdersJd;
import com.base.po.voip.RebateOrdersJdExample;
import com.base.service.RebateOrdersJdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rebateOrdersJdService")
public class RebateOrdersJdServiceImpl implements RebateOrdersJdService {
	
	@Autowired
	private RebateOrdersJdMapper rebateOrdersJdMapper;


	@Override
	public int countByExample(RebateOrdersJdExample example) {
		return rebateOrdersJdMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(RebateOrdersJdExample example) {
		return rebateOrdersJdMapper.deleteByExample(example);
	}

	@Override
	public int insert(RebateOrdersJd record) {
		return rebateOrdersJdMapper.insert(record);
	}

	@Override
	public int insertSelective(RebateOrdersJd record) {
		return rebateOrdersJdMapper.insertSelective(record);
	}

	@Override
	public List<RebateOrdersJd> selectByExample(RebateOrdersJdExample example) {
		return rebateOrdersJdMapper.selectByExample(example);
	}

	@Override
	public RebateOrdersJd selectByPrimaryKey(String orderid) {
		return rebateOrdersJdMapper.selectByPrimaryKey(orderid);
	}

	@Override
	public int updateByExampleSelective(RebateOrdersJd record, RebateOrdersJdExample example) {
		return rebateOrdersJdMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(RebateOrdersJd record, RebateOrdersJdExample example) {
		return rebateOrdersJdMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(RebateOrdersJd record) {
		return rebateOrdersJdMapper.updateByPrimaryKeySelective(record);
	}
}
